widget: Annotate out params of _translate_coordinates as optional
authorTimm Bäder <mail@baedert.org>
Sat, 30 Jan 2016 23:01:31 +0000 (00:01 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 31 Jan 2016 19:05:52 +0000 (20:05 +0100)
gtk/gtkwidget.c

index 2c9f776e8a96a1d8421f9a41803a351bdc672d3a..7a05c5654f121aebd5a77898c7a1f7777a1196b7 100644 (file)
@@ -6252,8 +6252,8 @@ gtk_widget_common_ancestor (GtkWidget *widget_a,
  * @dest_widget: a #GtkWidget
  * @src_x: X position relative to @src_widget
  * @src_y: Y position relative to @src_widget
- * @dest_x: (out): location to store X position relative to @dest_widget
- * @dest_y: (out): location to store Y position relative to @dest_widget
+ * @dest_x: (out) (optional): location to store X position relative to @dest_widget
+ * @dest_y: (out) (optional): location to store Y position relative to @dest_widget
  *
  * Translate coordinates relative to @src_widget’s allocation to coordinates
  * relative to @dest_widget’s allocations. In order to perform this